$(document).ready(function(){  
	$("#functionNav").attr("href",navAddr);
	//获取查询条件
	var params =$("#form1").serializeObject();
    //初始化出退库单据Table
	createTable('#repairTable',ProjectName+'/colrepair.getColRepairList.do','id',ctkDjColTitle,params);	
	//点击查询按钮
	 $("#search_btn").click(function(){
		 refreshTable('#repairTable','#form1');
	 });
})
var ctkDjColTitle = [{
    field: 'zdjh',
    title: '藏品总登记号',
    formatter: function(value, row, index) {
    	return '<a href="cpxfgldetail.html?id='+row.id+'">'+value+'</a>';
	}
},{
    field: 'flh',
    title: '分类号'
},{
    field: 'cpmc',
    title: '藏品名称',
    formatter: function(value, row, index) {
    	return '<a href="cpxfgldetail.html?id='+row.id+'">'+value+'</a>';
	}
},{
    field: 'XFYY',
    title: '修复原因'
},{
	        field: 'BT',
	        title: '申请单标题'
	    },{ 
	        field: 'ksxfsj',
	        title: '开始修复时间'
	    },{
	        field: 'jsxfsj',
	        title: '结束修复时间'
	    }]